import http from "@/utils/request"

export default {
    /**
     * 完成支付
     * @param orderNo
     * @returns {Promise<axios.AxiosResponse<any>>}
     */
    finishPay(orderNo) {
        return http.put(`/orders/pay/${orderNo}`)
    },
    createPayOrder(data) {
        return http.post('/payment/pay', data)
    }
}
